package com.zenghus.view.proxy;

import com.zenghus.proxy.Menthod;

public class ProxyTest {
    public static void main(String[] args) {
        //获取方法对象
        Mouse m= (Mouse) new ObjectProxy(new Mouse()).newProxyInstance(new MouseEventLisenter());
        m.click();
        m.down();
    }
}
